package com.caiyouxi.finance.model;

import com.caiyouxi.common.bean.QueryParams;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户账户及余额信息
 *
 * Created by Administrator on 2017/10/18.
 */
public class FinanceAccount extends QueryParams implements Serializable {

    private Integer id;//记录编号，自增长
    private Integer user_id;//用户编号
    private String currency_code;//财务账户货币类型代码
    private boolean specify;//每个货币的主账户只能有一个，但是专用账户（相当于子账户）可以有多个。
    private String account_code;//专用账户代码
    private Integer balance;//余额
    private String status ;//状态
    private String remark;//该账户的备注，管理用
    private Date check_time;//最后对账日期
    private Date create_time;//该余额账户创建日期
    private Date update_time;//该余额发生变化的最后时间
    private Date use_expire_time;//截止有效期（每次充值时查询对应的sys_settings全局设置表中的对应充值有效时间，该值加上当前时间的值更新）

    public Date getUse_expire_time() {
        return use_expire_time;
    }

    public void setUse_expire_time(Date use_expire_time) {
        this.use_expire_time = use_expire_time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getCurrency_code() {
        return currency_code;
    }

    public void setCurrency_code(String currency_code) {
        this.currency_code = currency_code;
    }

    public boolean isSpecify() {
        return specify;
    }

    public void setSpecify(boolean specify) {
        this.specify = specify;
    }

    public String getAccount_code() {
        return account_code;
    }

    public void setAccount_code(String account_code) {
        this.account_code = account_code;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCheck_time() {
        return check_time;
    }

    public void setCheck_time(Date check_time) {
        this.check_time = check_time;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}
